package day6;

import java.io.FileNotFoundException;
import java.io.FileOutputStream;

/**
 * @author oldliu
 * @since 1.0
 */
public class WriteTest {
    public static void main(String[] args) {
        try {
            FileOutputStream fout=new FileOutputStream("F:/java76/yangshuo/名单.txt",true);
            fout.write(65);
            fout.write(66);
            fout.write(97);
            byte[] b={72,73,75};
            fout.write(b);
            fout.write(21016);

            String str="席组成是青鸟第一歌手";
            fout.write(str.getBytes());
            fout.close();
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}
